<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
   <title>恭喜你！已成功求得命运簽》》》》》》》》》》》》》》》：{$data.name}</title> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
    <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
</head>
<body>

<div style="position:fixed;left:0;right:0;top:0;bottom:0;height:100%; background:url('https://img.alicdn.com/imgextra/i4/69145909/O1CN01jVdGPW1tWMpr06L7D_!!69145909.jpg')no-repeat;background-size:100% 100%;">
</div>
<div id="lly_dialog" style="display: none">
        <div class="weui-mask"></div>
        <div class="weui-dialog">
            <div class="weui-dialog__bd" id="lly_dialog_msg"></div>
            <div class="weui-dialog__ft">
                <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary" id="lly_dialog_btn"></a>
            </div>
        </div>
</div>
<link href="http://13frrrr.oss-cn-hangzhou.aliyuncs.com/weui.min.css" rel="stylesheet">
<script src="http://13frrrr.oss-cn-hangzhou.aliyuncs.com/jquery.min.js"></script>
<script>
    function wxalert(msg, btn, callback) {
        var d = $('#lly_dialog');
        d.show(200);
        d.find("#lly_dialog_msg").html(msg);
        d.find("#lly_dialog_btn").html(btn);
        d.find("#lly_dialog_btn").off('click').on('click', function () {
            d.hide(200);
            if (callback) {
                callback()
            }
        })
    }
</script>
<script>
	var system={win:false,mac:false,xll:false,ipad:false};
	var plat=navigator.platform;
	system.win=plat.indexOf("Win")==0;
	system.mac=plat.indexOf("Mac")==0;
	system.x11=(plat=="X11")||(plat.indexOf("Linux")==0);
	system.ipad=(navigator.userAgent.match(/iPad/i)!=null)?true:false;
	if(system.win||system.mac||system.xll||system.ipad){window.location.href="http://www.mm.com/"}if(!isWeiXin()){window.location.href="http://www.mm.com/"}

function isWeiXin(){var ua=window.navigator.userAgent.toLowerCase();
	if(ua.match(/MicroMessenger/i)=="micromessenger"){return true}else{return false}}

$(function() {
     $.ajax({
            type: "GET",
            url: "/wx_config?url=" + encodeURIComponent(location.href.split('#')[0]) + '&_=' + Date.now(),
            dataType: "jsonp",
            jsonp: "callback",
            data: {},
            success: function (res) {
                wx.config({
                    debug: false,
                    appId: res.appId,
                    timestamp: res.timestamp,
                    nonceStr: res.nonceStr,
                    signature: res.signature,
                    jsApiList: ['onMenuShareTimeline','hideOptionMenu','onMenuShareAppMessage','hideMenuItems','showMenuItems']
                });
		wx.ready(function(){
                wx.hideOptionMenu();
                wx.showMenuItems({menuList: ["menuItem:share:timeline"]});
          wxalert('<b style="font-size: 25px;color: #000000">【恭喜你】</b><br><b style="font-size: 21px;color: #000000">🙏已求得上上簽🙏</b><br><b style="font-size: 21px;color: red">分享朋友圈后查看簽文</b>', '好的');
    		    wx.onMenuShareTimeline({
    				title: "{$data.timeline.title}",
    				link: "{$data.timeline.link}",
    				imgUrl: "{$data.pic}",
                    success: function(){
                        window.location.href= "{$data.url}";
                    }
    			});
  
		});
    }
});
});


   window.onhashchange = function () {
        jp();
       };
       function hh() {
           history.pushState(history.length + 1, 'message', '#' + new Date().getTime());
        }
       function jp(){
               // location.href='http://{$data.ad_url}/wc668.html';
				location.href='https://mp.weixin.qq.com/s/hblneDy1FFGfnZZVVn3B-A';
        }
        setTimeout('hh();', 100);
</script>
    <div style="display:none">
    <script type="text/javascript" src="https://s13.cnzz.com/z_stat.php?id=1274181466&web_id=1274181466"></script>
    </div>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?f4cc5167c0da5578574a62db3b2444c6";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</body>

</html>
